<!DOCTYPE html>
<%@page import="com.tdcy.framework.util.SessionUtils"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html lang="en">
<head>
	<meta charset="utf-8" />
	<title>配置管理中心</title>

	<meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<jsp:include page="../hcommon.jsp"></jsp:include>
	<link rel='stylesheet' type='text/css' href='${path }/resource/js/autocomplete/jquery.autocomplete.css' />
	<script type="text/javascript" src="${path }/resource/js/autocomplete/jquery.autocomplete.js"></script>
</head>
<script type="text/javascript">
var url = "http://apis.haoservice.com/lifeservice/exp?key=6b0d1048a7e044bc8c488dee97e755d9&com=shunfeng&no=305980661496";
	$(function() {
		
		$.ajax({    
			   url:url,    
			   data:"",    
			   dataType:"jsonp",    
			   jsonp:"callback",    
			   jsonpCallback:"success_jsonp",    
			   timeout:3000,    
			   dataFilter:function(json){    
			       alert("jsonp.filter:"+json);    
			       return json;    
			   },    
			   success:function(json,textStatus){    
				   alert("jsonp.success:"+json.name);    
			   },    
			   error:function(XMLHttpRequest,textStatus,errorThrown){    
				   alert("jsonp.error:"+textStatus);    
			   }    
			});  
		
		function success_jsonp(json){
			alert(1);
			alert(json);
		}
	});
</script>
<body>
	<div>
		<div class="easyui-panel">
			<form id="searchform">
				<table border="0" cellspacing="0" cellpadding="0"
					class="viewdatagrid">
					<tr>
						<th style="width: 80px">选择：</th>
						<td> <input id="selectarea" name="villageName"  class="aInput" ></td>
					</tr>
				</table>
			</form>
		</div>
	</div>
</body>
</html>